using System.ComponentModel.DataAnnotations;

namespace FytSoa.Application.Cm.Param;

public class CmMedalUserAdd
{
    /// <summary>
    /// 唯一编号
    /// </summary>
    public long Id { get; set; }

    /// <summary>
    /// 用户编号
    /// </summary>
    [Required]
    public long UserId { get; set; }

    /// <summary>
    /// 勋章编号
    /// </summary>
    [Required]
    public long MedalId { get; set; }
    
    /// <summary>
    /// 是否佩戴
    /// </summary>
    public bool IsWear { get; set; } = false;
    
    /// <summary>
    /// 是否领取
    /// </summary>
    public bool IsNeck { get; set; } = false;

    /// <summary>
    /// 创建时间
    /// </summary>
    public DateTime CreateTime { get; set; }=DateTime.Now;
}